package eteam.aps.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 订单扫描记录
 *
 * @author ll
 * @since 2023-07-18
 */
@TableName("zn_sale_scan")
@ApiModel(value = "SaleScan对象", description = "订单扫描记录")
public class SaleScan extends ParentEntity {

    @ApiModelProperty("销货单号")
    @TableId(value = "FId", type = IdType.INPUT)
    private String fId;

    @ApiModelProperty("发货单号")
    @TableField("FSaleOrder")
    private String fSaleOrder;

    @ApiModelProperty("物料编号")
    @TableField("FInvCode")
    private String fInvCode;

    @ApiModelProperty("产品编号")
    @TableField("FProductCode")
    private String fProductCode;

    @ApiModelProperty("销货单号")
    @TableField("FSaleNum")
    private String fSaleNum;

    @ApiModelProperty("状态码【1 正常扫描】")
    @TableField("FSaleStat")
    private Integer fSaleStat;

    @ApiModelProperty("备注;备注信息")
    @TableField("FRemark")
    private String fRemark;

    @ApiModelProperty("账套;创建时候创建人所在的 【部门】")
    @TableField("FBookCode")
    private String fBookCode;

    @ApiModelProperty("审核状态;【0草稿；10审核中；20作废；30审核通过】")
    @TableField("FState")
    private String fState;

    @ApiModelProperty("创建人;关联 system模块的 user 的 fuserid")
    @TableField("FCreateUserId")
    private String fCreateUserId;

    @ApiModelProperty("创建时间;创建时间")
    @TableField("FCreatorTime")
    private LocalDateTime fCreatorTime;

    @ApiModelProperty("最近修改人;关联 system模块的 user 的 fuserid")
    @TableField("FLastModifyUserId")
    private String fLastModifyUserId;

    @ApiModelProperty("修改时间;修改时间")
    @TableField("FLastModifyTime")
    private LocalDateTime fLastModifyTime;

    @ApiModelProperty("审核人;关联 system模块的 user 的 fuserid")
    @TableField("FAuditUserId")
    private String fAuditUserId;

    @ApiModelProperty("审核时间;审核时间")
    @TableField("FAuditorTime")
    private LocalDateTime fAuditorTime;

    public String getfSaleOrder() {
        return fSaleOrder;
    }

    public void setfSaleOrder(String fSaleOrder) {
        this.fSaleOrder = fSaleOrder;
    }

    public String getfProductCode() {
        return fProductCode;
    }

    public void setfProductCode(String fProductCode) {
        this.fProductCode = fProductCode;
    }

    public String getfInvCode() {
        return fInvCode;
    }

    public void setfInvCode(String fInvCode) {
        this.fInvCode = fInvCode;
    }

    public String getfSaleNum() {
        return fSaleNum;
    }

    public void setfSaleNum(String fSaleNum) {
        this.fSaleNum = fSaleNum;
    }

    public Integer getfSaleStat() {
        return fSaleStat;
    }

    public void setfSaleStat(Integer fSaleStat) {
        this.fSaleStat = fSaleStat;
    }
}
